package com.yl.auth.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yl.auth.model.entity.Danganguanli;
import com.yl.auth.model.entity.ExcelQianZaiDTO;
import com.yl.auth.model.entity.QianZaiKeHu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yl.auth.model.vo.QianZaiKeHuVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yl
 * @since 2023-06-29
 */
public interface QianZaiKeHuMapper extends BaseMapper<QianZaiKeHu> {


    Page<QianZaiKeHu> findAll(Page<QianZaiKeHu> page1, @Param("qianZaiKeHuVo") QianZaiKeHuVo qianZaiKeHuVo);

    void insertBatch(@Param("list") List<ExcelQianZaiDTO> list);

    void insertLaoRen(@Param("list") List<ExcelQianZaiDTO> list);
}
